<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
<title></title>
<meta charset="utf-8">
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
<meta name="copyright" content="http://www.appcms.org" />
<link rel="stylesheet" href="skin/base.css">
<link rel="stylesheet" href="css/main.css">
<script src="js/zy_control.js"></script>
<script src="js/zy_click.js"></script>
<script src="js/config.js"></script>
<script src="js/common.js"></script>
</head>
<body ontouchstart>
<div id="main" class="box-ver box"> 
  
  <!--content开始-->
  <div id="content" class="loading"></div>
  <!--content结束-->
  <div id="comment" class="box-hor box">
    <div>
      <center class="back" ontouchstart="zy_touch('down')" onclick="uexWindow.close(-1);">
        返回
      </center>
    </div>
    <div>
      <center class="comment" onclick="oauth('comment');">
        点评
      </center>
    </div>
    <div>
      <center class="share" onclick="oauth('share');">
        分享
      </center>
    </div>
  </div>
  <!--<div id="comment"><ul ontouchstart="zy_touch('down')" onclick="oauth();"><li></li></ul></div>--> 
</div>
</body>
<script>
    	zy_init();
		var Users = new Users({});
		var Id=0;//Id用来判断来源的news_id是否为上次上次正常加载的news_id，如果是的话，则不刷新，由content窗口来刷新此变量
		var url='comment';
		function setUser(){//快捷登录后也调用此函数
			localStorage['news_comment_type']='item';
			uexWindow.open('news_'+url, '0', 'news_'+url+'.html', 12, '', '', 0);
		}
		function oauth(u){
			url=u;
			if(!Users.checkUser()){//这里必须判断用户是否登录
				localStorage['login']='news_item';
				uexWindow.open('login', '0', 'login.html', 12, '', '', 0);
			}else{
				setUser();
			}
		}
	
        window.uexOnload = function(type){
            if (!type){
				window.setTimeout(function(){zy_con("content", "news_item_content.html", 0, 0);},300)
				
            }
			window.onorientationchange=window.onresize=function()
			{
				zy_resize("content",0,0);
			}
        }
		
    </script>
</html>